package com.pr;


import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@MapperScan("com.pr.mapper")
@EnableSwagger2
@Slf4j
public class NewsApp {
    public static void main(String[] args) {
        SpringApplication.run(NewsApp.class, args);
        log.info("http://localhost:9001/doc.html");
    }
}
